package com.wlz.learnjuc.threadLocal;

/**
 * @author wlz
 * @date 2022-08-02  8:33 下午
 */
public class User {

    private ThreadLocal<String> name;

    public String getName() {
        String s = this.name.get();
        return s;
    }

    public void setName() {
        this.name.set("wlz");
    }
}
